package com.yswy.domain.mapper.tf;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.domain.entity.Domain;
import com.yswy.domain.entity.tf.TgMediaAccount;
import com.yswy.domain.vo.dto.BaseFilter;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

@Mapper
public interface TgMediaAccountMapper extends BaseMapper<TgMediaAccount> {

    //获取所有TgMediaAccount
    Page<TgMediaAccount> pageTgMediaAccount(@Param("req") BaseFilter req,
                                            @Param("userId") Long userId,
                                            Page<BaseFilter> page);
}
